@extends('admin.base')
    @section('content')
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            <i class="fa fa-calendar"></i>
			用户信息管理
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="#">用户信息管理</a></li>
            <li class="active">用户信息</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <!-- right column -->
            <div class="col-md-12">
              <!-- Horizontal Form -->
              <div class="box box-primary">
                <div class="box-header with-border">
                  <h3 class="box-title"><i class="fa fa-plus"></i> 用户详细信息浏览</h3>
                </div><!-- /.box-header -->
                <!-- form start -->
                <form action="{{url('admin/user')}}/{{$list->id}}" method="post" enctype="multipart/form-data" class="form-horizontal">
				  <input type="hidden" name="_method" value="PUT">
                  <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                  <div class="box-body">
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">用户名：</label>
                      <div class="col-sm-4">
                        <input type="text" name="userName" value="{{$list->userName}}" readonly class="form-control" id="inputEmail3" placeholder="用户名">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">密码：</label>
                      <div class="col-sm-4">
                        <input type="password" name="password" value="{{$list->password}}" readonly class="form-control" id="inputEmail3" placeholder="密码">
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">邮箱：</label>
                      <div class="col-sm-4">
                        <input type="email" name="email" value="{{$list->email}}" readonly class="form-control" id="inputEmail3" placeholder="邮箱">
                      </div>
                    </div>
					<div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">用户头像：</label>
                      <div class="col-sm-4">
                        <img src="{{asset('user/uploads')}}/{{$list->photo}}" width="70px"/>
                      </div>
                    </div>
					<div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">用户权限：</label>
                      <div class="col-sm-4">
                        <input type="text" name="question" {{ $list->status == "0" ? "value=正常" : "value=已冻结" }} readonly class="form-control" id="inputPassword3" placeholder="密保问题">
                      </div>
                    </div>
					<div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">密保问题：</label>
                      <div class="col-sm-4">
                        <input type="text" name="question" value="{{$list->question}}" readonly class="form-control" id="inputPassword3" placeholder="密保问题">
                      </div>
                    </div>
					<div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">密保问题答案：</label>
                      <div class="col-sm-4">
                        <input type="text" name="answer" value="{{$list->answer}}" readonly class="form-control" id="inputPassword3" placeholder="密保问题答案" >
                      </div>
                    </div>
                  </div><!-- /.box-body -->
                 <!-- /.box-footer -->
                </form>
				<div class="col-sm-offset-2 col-sm-1">
						<a href="{{url('admin/user')}}"><button type="submit" class="btn btn-primary">返回</button></a>
                    </div>
				<div class="row"><div class="col-sm-12">&nbsp;</div></div>
              </div><!-- /.box -->
       
            </div><!--/.col (right) -->
          </div>   <!-- /.row -->
        </section><!-- /.content -->
    @endsection